---
title: mdlReserveServices
summary: API reference for mdlReserveServices.
status: draft
owner: SAIF Documentation Generator
last_reviewed: 2026-08-21
library: SAIF.Business.Claim
reference_type: embedded
---

# mdlReserveServices

`mdlReserveServices` is a `Module` that caches reserve-services code-table lookups in module-level `Static` variables for the lifetime of the hosting process, reloading only when an explicit `Refresh` argument is supplied (see [Code-table caching](../../operations/code-table-caching.md)).

## Purpose
- Provides cached accessor functions over `clsVocationalServiceTypes` and the medical/vocational reserve service-type code tables, avoiding repeated database round-trips within a process.

## Context
- Namespace: `SAIF.Business.Claim.ReserveServices`
- Assembly/package: `SAIF.Business.Claim.dll`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `GetVocationalServiceTypes` | `Public Function GetVocationalServiceTypes(Optional refresh As Boolean = False) As DataTable` | Returns the cached vocational service-type table, reloading via [SQL-035](../../sql/SQL-035.md) only when `refresh` is `True` or the cache is empty.* |

## Behavioral notes
- The `Static` cache has no expiry and no synchronization, making it process-lifetime and not thread-safe.*

## Constraints and usage notes
- Pass `refresh:=True` only when the underlying code table is known to have changed; otherwise the cached value is returned.

> **Note:** Statements marked with * were inferred from code structure, naming conventions, or
> contextual evidence where direct confirmation was not available in source artifacts. Statements
> marked with ** could not be confirmed; treat as unknown until verified.

## Related documentation
- [Library index](../../index.md)
- [API reference index](../index.md)
- [Overview](../../overview.md)
- [Architecture](../../architecture.md)
- [Dependencies](../../dependencies.md)
- [Operations and processes](../../operations-processes.md)
- [Business rules](../../business-rules.md)
- [Database tables](../../database-tables.md)
- [SQL catalog](../../sql/index.md)
## Sources
- SAIF.Business.Claim/mdlReserveServices.vb
